//
//  UserModel.h
//  ZLShang
//
//  Created by wangguangming on 15/7/27.
//  Copyright © 2015年 Amber. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserModel : NSObject

#pragma mark ---- 在路上 客户端-----------------

#pragma mark - Employee 员工账号数据结构      OnTheWay V1.0



@property (nonatomic, strong) NSString *_id;
/* 
 account must unique, has two kinds of account:
 1. email, 2. third party unique token
 */
@property (nonatomic, strong) NSString *account;    // 登陆账号/工号
@property (nonatomic, strong) NSString *pwd;        // 登陆密码
@property (nonatomic, strong) NSString *name;       // 姓名昵称
@property (nonatomic, strong) NSString *gender;     // 性别     f女 m男
@property (nonatomic, strong) NSString *id;         // 身份证号
@property (nonatomic, strong) NSString *dptId;      // 所属部门ID
@property (nonatomic, strong) NSString *dptName;    // 所属部门名
@property (nonatomic, strong) NSNumber *birthday;   // 生日
@property (nonatomic, strong) NSNumber *registDate; // 注册时间
@property (nonatomic, strong) NSNumber *type;       // 员工类型 全职、兼职、实习生、试用期
/**
 public static class Type {
 public static final Integer FULLTIME = 1; // 全职
 public static final Integer PARTTIME = 2; // 兼职
 public static final Integer INTERN = 3; // 实习生
 public static final Integer TRIAL = 4; // 试用期
 }
 */
@property (nonatomic, strong) NSString *tel;        // 联系电话
@property (nonatomic, strong) NSString *photo;      // 头像Url
@property (nonatomic, assign) NSNumber *role;       // 角色
/**
 public static class Role {
 public static final Integer ADMIN = 1; // 超级管理员，具有所有权限
 public static final Integer MANAGER = 2; // 配送管理员
 public static final Integer DELIVERYMAN = 3; // 送货人员
 public static final Integer PICKINGMAN = 4; // 配货人员
 }
 */
@property (nonatomic, strong) NSNumber *enable;     // 是否启用
@property (nonatomic, strong) NSString *mktId;      // 仓库Id
@property (nonatomic, strong) NSString *mktName;    // 仓库名
@property (nonatomic, strong) NSString *mktTel;     // 仓库电话

@property (nonatomic, strong) NSNumber *checked;    // 是否在值班
@property (nonatomic, strong) NSNumber *free;       //  配货员和送货员，管理员是否空闲
@property (nonatomic, strong) NSNumber *freeTime;   // 空闲时刻，返回仓库后最早点击领取包裹时的时间
/**
 public static class Role {
 public static final Integer ADMIN = 1; // 超级管理员，具有所有权限
 public static final Integer MANAGER = 2; // 配送管理员
 public static final Integer DELIVERYMAN = 3; // 送货人员
 public static final Integer PICKINGMAN = 4; // 配货人员
 }
 */

@end



